<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Com extends Model
{
     //指定对应的表
    protected $table = 'comment';

    //指定可以填充的字段

    protected $fillable = [
        'user_id', 'goods_id', 'content' , 'time',
    ];


   //表明模型是否应该被打上时间戳
    public $timestamps = false;
}
